package com.ruoyi.ai.service;

import com.alibaba.dashscope.aigc.generation.GenerationResult;
import com.alibaba.dashscope.exception.InputRequiredException;
import com.alibaba.dashscope.exception.NoApiKeyException;

public interface ChatService {
    GenerationResult chatAi() throws NoApiKeyException, InputRequiredException;
    GenerationResult chatAi(String msg) throws NoApiKeyException, InputRequiredException;
}
